import { createApp } from 'vue'
import App from './App.vue'

import router from './router/index.js'


// iconfont css
// import "./assets/iconfont/iconfont.scss";
// font css
// import "./assets/fonts/font.scss";
// 引入初始化样式
import './assets/normalize.css'
// reset style sheet
import "./styles/reset.scss";
// CSS common style sheet
import "./styles/common.scss";
// iconfont css
import "./assets/iconfont/iconfont.scss";
// font css
import "./assets/fonts/font.scss";
// element plus
import ElementPlus from "element-plus";
// element icons
import * as Icons from "@element-plus/icons-vue";
// element css
import "element-plus/dist/index.css";
// element dark(内置暗黑模式)
import "element-plus/theme-chalk/dark/css-vars.css";
// custom element dark(自定义暗黑模式)
import "./styles/theme/element-dark.scss";
// custom element css
import "./styles/element.scss";



// vue i18n
import I18n from "@/language/index";
// pinia store
import pinia from "@/store/index";
const app = createApp(App);
// 注册element Icons组件
Object.keys(Icons).forEach(key => {
	app.component(key, Icons[key]);
});

app.use(router).use(I18n).use(pinia).use(ElementPlus).use().mount('#app')




